<%--                                                                       --%>
<%-- Copyright (c) 2001-2005 BroadVision, Inc.  All rights reserved.       --%>
<%--                                                                       --%>
<%-- This software is copyrighted. Under the copyright laws, this software --%>
<%-- may not be copied, in whole or in part, without prior written consent --%>
<%-- of BroadVision, Inc. or its assignees. This software is provided      --%>
<%-- under the terms of a license between BroadVision and the recipient,   --%>
<%-- and its use is subject to the terms of that license.                  --%>
<%--                                                                       --%>
<%-- This software may be protected by one or more U.S. and International  --%>
<%-- patents.  Certain applications of BroadVision One-To-One software are --%>
<%-- covered by U.S. patent 5,710,887.                                     --%>
<%--                                                                       --%>
<%-- TRADEMARKS: BroadVision and BroadVision One-To-One are registered     --%>
<%-- trademarks of BroadVision, Inc., in the United States and the         --%>
<%-- European Community, and are trademarks of BroadVision, Inc., in other --%>
<%-- countries.  The BroadVision logo, is a trademark of BroadVision,      --%>
<%-- Inc., in the United States and other countries. Additionally, IONA    --%>
<%-- and Orbix are trademarks of IONA Technologies, Ltd.  RSA, MD5, and    --%>
<%-- RC2 are trademarks of RSA Data Security, Inc.                         --%>
<%--                                                                       --%>

<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean-el.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> 


<div class="menuBlocktitle">	
  <span>
    <bean:message key="cs.menu.microsite.wizard"/>
  </span>
</div>

<div class="menuBlockWrap">

<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Left Navigation">


    <%-- BEGIN display Details navigate --%>

      <%-- BEGIN the current step is Details --%>
      <c:if test="${msNewForm.map.step < 2}">
       <tr class="menuOn">
	    <td class="menuOn" width="20%" valign="middle">
	      <c:if test="${msNewForm.map.step == 0}">
	      <html:img altKey="cs.selected.step"  page="/cs/images/buttons/global/gbtn_menu_on.gif"  width="14" height="14" border="0" align="left"/>

        </c:if> 
        <c:if test="${msNewForm.map.step == 1}">
        	<html:img altKey="cs.microsite.not.complete.step"  page="/cs/images/buttons/global/gbtn_menu_on.gif"  width="14" height="14" border="0" align="left"/>
        </c:if>
			 </td>	
			 <td class="menuOn" width="70%">	
        <a href="#"><bean:message key="cs.details"/></a>
			 </td>
			 <td class="menuOn" width="10%">
			   &nbsp;
			 </td>	
      </c:if> 
    	
    	 <%-- BEGIN Details step is completed --%>
      <c:if test="${msNewForm.map.step >= 2}">
      <td class="menuOff" width="20%" valign="middle">
        <html:link page="/cs/microsite/msNewDetails.do">
        <html:img page="/cs/images/buttons/global/gbtn_menu_off.gif"  width="14" height="14" altKey="cs.microsite.completed.step" border="0" align="left"/>
      
        </html:link>
      </td>
			<td class="menuOff" width="70%">
			  <html:link page="/cs/microsite/msNewDetails.do"><bean:message key="cs.details"/></html:link>
      </td>
			<td class="menuOff" width="10%">
			   &nbsp;
			 </td>	
      </c:if>
      <%-- END Details step is completed --%>
               	
        <%-- END Details step is completed --%>
    </tr>
    <%-- END display Details navigate --%>
         
    <%-- BEGIN display Phases navigate --%>

    <c:if test="${msNewForm.map.usePhase}">

      <%-- BEGIN the current step is Phases --%>
      <c:if test="${msNewForm.map.step == 2}">
          <tr class="menuOn">
	      <td class="menuOn" width="20%" valign="middle">
	        <html:img altKey="cs.selected.step" page="/cs/images/buttons/global/gbtn_menu_on.gif"  width="14" height="14" border="0" align="left"/>
		    </td>
				<td class="menuOn" width="70%">
				<a href="#"><bean:message key="cs.phases"/></a>
		    </td> 
	      <td class="menuOn" width="10%">
			   &nbsp;
			 </td>	
	  </c:if>
  <%-- END the current step is Phases --%>
          
      <%-- BEGIN the current step is not Phases --%>
      <c:if test="${msNewForm.map.step != 2}">     
        <%-- BEGIN Phases step is completed --%>
        <c:if test="${msNewForm.map.finishedStep >= 2}">
        <tr class="menuOff">
          <td class="menuOff" width="20%" valign="middle">
            <html:link page="/cs/microsite/phasesList.do">
	<html:img page="/cs/images/buttons/global/gbtn_menu_off.gif" altKey="cs.microsite.completed.step" width="14" height="14" border="0" align="left"/>	                    
        		</html:link>
					</td>
					<td class="menuOff" width="70%">	
        		<html:link page="/cs/microsite/phaseList.do">
							<bean:message key="cs.phases"/> 
						</html:link>
					</td>
					<td class="menuOff" width="10%">
			      &nbsp;
			    </td>
			  </c:if>
                <%-- END Phases step is completed --%>
          
        <%-- BEGIN Phases step is disable --%>
        <c:if test="${msNewForm.map.finishedStep < 2}">
        <tr class="menuOff">
	        <td class="menuOff" width="20%" valign="middle">
	<html:img page="/cs/images/buttons/global/gbtn_menu_off.gif" altKey="cs.microsite.not.complete.step" width="14" height="14" border="0" align="left"/>	        
  		    </td>
					<td class="menuOff" width="70%">
					<a class="menuOff" href="#">
							<bean:message key="cs.phases"/>
						</a>
        </td>
				 <td class="menuOff" width="10%">
			      &nbsp;
			    </td>
        </c:if>
        <%-- END Phases step is disable --%>
          
	  </c:if>
	  <%-- END the current step is not Phases --%>
	</tr>
	</c:if>
        <%-- END display Phases navigate --%>
      
        <%-- BEGIN display Participants navigate --%>

      <%-- BEGIN the current step is Participants --%>
      <c:if test="${msNewForm.map.step == 3}">
      		<tr class="menuOn">
          <td class="menuOn" width="20%" valign="middle">
       	    <html:img altKey="cs.selected.step" page="/cs/images/buttons/global/gbtn_menu_on.gif"  width="14" height="14" border="0" align="left"/>
          </td>
					<td class="menuOn" width="70%">  
						<a href="#"><bean:message key="cs.participants"/></a>
          </td>
					<td class="menuOn" width="10%">
					  &nbsp;
					</td>	 
      </c:if>
      <%-- END the current step is Participants --%>
          
      <%-- BEGIN the current step is not Participants --%>
      <c:if test="${msNewForm.map.step != 3}">

        <%-- BEGIN Participants step is completed --%>
        <c:if test="${msNewForm.map.finishedStep >= 3}">
		<tr class="menuOff">
            <td class="menuOff" width="20%" valign="middle">
              <html:link page="/cs/microsite/participantList.do">
              <html:img page="/cs/images/buttons/global/gbtn_menu_off.gif" altKey="cs.microsite.completed.step" width="14" height="14" border="0" align="left"/>
              </html:link>
						</td>
						<td class="menuOff" width="70%">	
              <html:link page="/cs/microsite/participantList.do"><bean:message key="cs.participants"/></html:link>
            </td>
						<td class="menuOff" width="10%">
					    &nbsp;
					  </td>	
        </c:if>
        <%-- END Participants step is completed --%>
  
        <%-- BEGIN Participants step is disable --%>
        <c:if test="${msNewForm.map.finishedStep < 3}">
        <tr class="menuOff">
            <td class="menuOff" width="20%" valign="middle">
              <html:img page="/cs/images/buttons/global/gbtn_menu_off.gif" altKey="cs.microsite.not.complete.step" width="14" height="14" border="0" align="left"/>
            </td>
						<td class="menuOff" width="70%">  
							<a class="menuOff" href="#"><bean:message key="cs.participants"/></a>
            </td> 
						<td class="menuOff" width="10%">
						 &nbsp;
						</td> 
        </c:if>
        <%-- END Participants step is disable --%>
          
              </c:if>
              <%-- END the current step is not Participants --%>
        </tr>
        <%-- END display Participants navigate --%>
      
        <%-- BEGIN display Summary navigate --%>
        
	      <%-- BEGIN the current step is Summary --%>
		<c:if test="${msNewForm.map.step == 4}">
		<tr class="menuOn">
	          <td class="menuOn" width="20%" valign="middle">
	            <html:img altKey="cs.selected.step"  page="/cs/images/buttons/global/gbtn_menu_on.gif"  width="14" height="14" border="0" align="left"/>
	          </td>
						<td class="menuOn" width="70%">  
							<a href="#"><bean:message key="cs.summary"/></a></td>
	          <td class="menuOn" width="10%">
						  &nbsp;
						</td>	
	      </c:if>
	      <%-- END the current step is Summary --%>
	  
	      <%-- BEGIN the current step is not Summary --%>
	      <c:if test="${msNewForm.map.step != 4}">
	  
	        <%-- BEGIN Summary step is completed --%>
	        <c:if test="${msNewForm.map.finishedStep >= 4}">
	        <tr class="menuOff">
	            <td class="menuOff" width="20%" valign="middle">
	              <html:link page="/cs/microsite/summary.do">
	              <html:img page="/cs/images/buttons/global/gbtn_menu_off.gif" altKey="cs.microsite.completed.step" width="14" height="14" border="0" align="left"/>
	              </html:link>
							</td>
							<td class="menuOff" width="70%">	
	              <html:link styleClass="menuWiz" page="/cs/microsite/summary.do"><bean:message key="cs.summary"/></html:link>
	            </td>
							<td class="menuOff" width="10%">
							  &nbsp;
							</td>	
	        </c:if>
	        <%-- END Summary step is completed --%>
          
        <%-- BEGIN Summary step is disable --%>
        <c:if test="${msNewForm.map.finishedStep < 4}">
        <tr class="menuOff">
            <td class="menuOff" width="20%" valign="middle">
              <html:img page="/cs/images/buttons/global/gbtn_menu_off.gif" altKey="cs.microsite.not.complete.step" width="14" height="14" border="0" align="left"/>
            </td>
						<td class="menuOff" width="70%">  
							<a class="menuOff" href="#"><bean:message key="cs.summary"/></a>
            </td> 
						<td class="menuOff" width="10%">
						  &nbsp;
						</td>	
        </c:if>
        <%-- END Summary step is disable --%>
  
      </c:if>
      <%-- END the current step is not Summary --%>
        </tr>
        <%-- END display Summary navigate --%>
      </table>

</div>
